An Effective Semantic Code Clone Detection Framework Using Pairwise Feature Fusion
نویسندگان
چکیده
Code clones. In this work, we propose a novel detection framework using machine learning for automated of all four type The features extracted from pair code blocks are combined possible clone with respect to reference block. We use AST and PDG both prepare labelled training samples after fusing the two feature vectors three different alternatives. six state-of-the-art classification models including Deep Convolutional Neural Network assess prediction performance our scheme. To access effectiveness seven datasets compare its five detectors. also large number algorithms detection. Comparing techniques, ANN non-ANN, such features, establishing that gives competitive results deep as well boosted tree algorithms, find like XGBoost quite in Experimental demonstrate approach outperforms existing methods terms accuracy.
منابع مشابه
An Effective Framework for Semantic Event Detection
We propose a two-step Event-Level Feature (ELF) learning framework for automatic detection of semantic events. In the first step an elementary-level feature is generated to represent images and videos. Then in the second step an ELF is constructed on top of the elementary features to model each event as a feature vector. Semantic event detectors can be built based on the ELF. Various ELFs are g...
متن کاملMapping Code Clones Using Incremental Clone Detection
Understanding the evolution of duplicated source code is necessary to investigate the phenomenon of cloning. To trace individual code clones across multiple program versions, clones of consecutive versions need to be mapped. Current methods detect clones of different versions first and then map detected clones retroactively. I present an approach to map individual clones between consecutive pro...
متن کاملJSCTracker: A Semantic Clone Detection Tool for Java Code
This paper presents a tool and algorithm for the detection of semantic clones in Java methods. For our purpose, semantic clones are defined as functionally identical code fragments. Thus, our detection process operates on the premise that if two code fragments are semantic clones, then their input-output behavior would be identical. We adopt a wholistic approach to the definition of input-outpu...
متن کاملAn Effective Software Clone Detection Using Distance Clustering
D. Gayathri Devi 1, Dr.M.Punithavalli *2 Assistant Professor, Department of Computer Science, Research Scholar Karpagam University, Coimbatore, Tamilnadu,India 1 [email protected] * Director and Head, Sri Ramakrishna Engineering College, Coimbatore, Tamilnadu,India 2 [email protected] Abstract – As the computer is a rapidly evolving, there is tremendous need of software development fo...
متن کاملReview of Code Clone Detection
Now a days Copy and Paste of code fragments has been regularly practiced in development of software. Because of limitations of time and lack of knowledge programmers use this code strategy. This strategy is known as code cloning. Clones may cause many problems. Probability of errors and the maintenance cost is increased. Modification would be difficult because of clones. So it needs to detect c...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: IEEE Access
سال: 2021
ISSN: ['2169-3536']
DOI: https://doi.org/10.1109/access.2021.3079156